package com.newegg.nlp.arangodb.model;

import com.arangodb.springframework.annotation.Document;
import com.arangodb.springframework.annotation.Relations;
import com.newegg.nlp.arangodb.BaseModel;

@Document("review")
public class Review extends BaseModel{
	
	int egg;
	
	//review内容
	String review;
	
	@Relations(edges=ReviewItem.class)
	Item item;

	public int getEgg() {
		return egg;
	}

	public void setEgg(int egg) {
		this.egg = egg;
	}

	public String getReview() {
		return review;
	}

	public void setReview(String review) {
		this.review = review;
	}

	public Item getItem() {
		return item;
	}

	public void setItem(Item item) {
		this.item = item;
	}
}
